let a = sessionStorage.getItem("token");
let b = sessionStorage.getItem("b");

let n = sessionStorage.getItem("n");
let p = sessionStorage.getItem("p");
let nameP = document.querySelector(".name");
let timeP = document.querySelector(".time");


let api = "http://newshopapi.0melon0.cn/api/f_user/report";
let method = "POST";
let data = {
    "phone": p,
    "name": "n"
}
ajax(method, api, function (res) {
    if (!n=="") {
        nameP.innerHTML = `
        <p>姓名：</p>
        <p> ${n}</p>
        `;
            timeP.innerHTML = `
        <p>场次:</p>
        <p>14:30-17:00</p>
        `;
    }


}, data)


